Miner.Responder.Shared.Extensions Namespace > EnumerableExtensions Class > AddRange Method : AddRange<T>(ICollection<T>,IEnumerable<T>) Method |
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Overloads Shared Sub AddRange(Of T)( _ ByVal collection As System.Collections.Generic.ICollection(Of T), _ ByVal dataToAppend As System.Collections.Generic.IEnumerable(Of T) _ )
'Usage
Dim collection As System.Collections.Generic.ICollection(Of T) Dim dataToAppend As System.Collections.Generic.IEnumerable(Of T) EnumerableExtensions.AddRange(Of T)(collection, dataToAppend)
[System.Runtime.CompilerServices.Extension()] public static void AddRange<T>( System.Collections.Generic.ICollection<T> collection, System.Collections.Generic.IEnumerable<T> dataToAppend )
public procedure AddRange( collection: System.Collections.Generic.ICollection; dataToAppend: System.Collections.Generic.IEnumerable ); static;
System.Runtime.CompilerServices.ExtensionAttribute() public static function AddRange( collection : System.Collections.Generic.ICollection, dataToAppend : System.Collections.Generic.IEnumerable );
[System.Runtime.CompilerServices.Extension()] public: static void AddRange<T>( System.Collections.Generic.ICollection<T*>* collection, System.Collections.Generic.IEnumerable<T*>* dataToAppend )
[System.Runtime.CompilerServices.Extension()] public: static void AddRangegeneric<typename T> ( System.Collections.Generic.ICollection<T^>^ collection, System.Collections.Generic.IEnumerable<T^>^ dataToAppend )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2